#include "ModelSolver.h"

namespace common {

ModelSolver::ModelSolver(){
}

void ModelSolver::setPointDb(PointDb* points){
	pointDb = points;
}

void ModelSolver::setPrimitiveDb(PrimitiveDb* primitives){
	primitiveDb = primitives;
}

void ModelSolver::setConstraintDb(ConstraintDb* constraints){
	constraintDb = constraints;
}

void ModelSolver::setParameterDb(ParameterDb* parameters){
	parameterDb = parameters;
}

void ModelSolver::solve(){
}

void ModelSolver::relax(){
}

std::list<std::string> ModelSolver::getMessages(){
	return messages;
}

void ModelSolver::addMsg(const std::string& message){
	messages.push_back(message);
}

ModelSolver::~ModelSolver() {
}

}
